package InterfaceGraphique;
import javax.swing.SwingUtilities;
import Principal.*;

/**
 * classe du main de l'interface graphique
 * @author bruno
 *
 */
public class Test {
	
	/**
	 * Notre graphe
	 * @see InterfaceGraphe
	 * @Graphe
	 */
	protected static InterfaceGraphe g;
	
	/**
	 * Notre Menu initial
	 * @see Menu
	 * @see Fenetre
	 */
	protected static Menu f;
	
	/**
	 * booleen de chargement
	 */
	protected static boolean charge = false;
	
	/**
	 * réactive le menu
	 */
	public static void reEnable(){
		f.setEnabled(true);
	}
	
	/**
	 * désactive le menu
	 */
	public static void disable(){
		f.setEnabled(false);
	}
	
	/**
	 * main
	 * @param args
	 */
	public static void main(String[] args){
		SwingUtilities.invokeLater(new Runnable(){
			public void run(){
				f = new Menu();
			}
		});
	}

}
